export default {
  path: "/settings",
  redirect: "/settings",
  meta: {
    icon: "line-md:cog-loop",
    //showLink: false,
    title: "设置",
    rank: 8
  },
  children: [
    {
      path: "/settings/account",
      meta: {
        icon: "clarity:avatar-solid",
        title: "结算账号",
      }, children: [
        {
          path: "/settings/accounts",
          name: "account",
          component: () => import("@/views/settings/account/index.vue"),
          meta: {
            icon: "clarity:avatar-line",
            title: "账号列表",
            showParent: true
          }
        }
      ]
    }
    ,
    {
      path: "/settings/payway",
      meta: {
        icon: "fa6-solid:money-bill-wave",
        title: "结算方式",
      }, children: [
        {
          path: "/settings/payway",
          name: "payway",
          component: () => import("@/views/settings/payway/index.vue"),
          meta: {
            icon: "fa6-solid:money-bill-wave",
            title: "结算方式",
            showParent: true
          }
        }
      ]
    }
  , {
      path: "/settings/unit",
      meta: {
        icon: "material-symbols:avg-time-outline-sharp",
        title: "计量单位",
      }, children: [
        {
          path: "/settings/unit",
          name: "",
          component: () => import("@/views/settings/unit/index.vue"),
          meta: {
            icon: "material-symbols:avg-time-outline-sharp",
            title: "计量单位",
            showParent: true
          }
        }
      ]
    }, {
      path: "/settings/level",
      meta: {
        icon: "ant-design:crown-twotone",
        title: "客户等级",
      }, children: [
        {
          path: "/settings/level",
          name: "level",
          component: () => import("@/views/settings/level/index.vue"),
          meta: {
            icon: "ant-design:crown-twotone",
            title: "客户等级",
            showParent: true
          }
        }
      ]
    }
    ,
  ]
} satisfies RouteConfigsTable;